extends CanvasLayer
@onready var label: Label = $Label

func _init() -> void:
	Dialogic.signal_event.connect(Dia)
# Called when the node enters the scene tree for the first time.
func Dia(arguement:String):
	if arguement=="wuzui":
		var tween=create_tween()
		tween.tween_property(label,"modulate:a",1,3.0)
		tween.tween_property(label,"modulate:a",0,1.5)

#func _ready() -> void:
#	print("tween")
#	var tween=create_tween()
#	tween.tween_property(label,"modulate:a",1,3.0)
